make ldconfig use the built-in system paths
authorSteve Langasek <steve.langasek@linaro.org>
Thu, 6 Jan 2022 21:32:53 +0000 (21:32 +0000)
committerAurelien Jarno <aurel32@debian.org>
Thu, 6 Jan 2022 21:32:53 +0000 (21:32 +0000)
commit0687ccb0a4292dd0d73a066cab0cf7240498cd43
tree4685c853f2c580df772ad2d8eadb4060e37c79bf
parent4236f273b729ec52f6f129d19c6b3d7bd811d9b9
make ldconfig use the built-in system paths

Bug-Ubuntu: https://bugs.launchpad.net/bugs/736932

Make ldconfig use the same view of built-in system paths that ld.so does,
instead of just using SLIBDIR and LIBDIR; this corrects a failure of
ldconfig to cache libraries in non-multiarch directories when building for
multiarch, even though they're on the system path.

Gbp-Pq: Topic any
Gbp-Pq: Name local-ldconfig-multiarch.diff
elf/ldconfig.c